// app.ts
App({
  globalData: {
    systemInfo:{}
  },
  onLaunch() {
    let _this = this;
    // 展示本地存储能力 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
    const logs = wx.getStorageSync('logs') || []
    logs.unshift(Date.now())
    wx.setStorageSync('logs', logs);

    //获取设备信息
    let res = wx.getSystemInfoSync();
    _this.globalData.systemInfo = res;
  }
})